package com.qiniuyun.threedgenerator.dto;

import lombok.Data;
import jakarta.validation.constraints.NotBlank;  // 修改这里

@Data
public class TextGenerationRequest {
    @NotBlank(message = "生成文本不能为空")
    private String text;

    private String modelName;
    private String format = "GLTF";
    private Integer detailLevel = 3;
    private String style = "realistic";
    private Double size = 1.0;
}